import 'package:eh_mobile/common/models/index.dart';
import 'package:get/get.dart';

class HomePageState {
  final _regionListModels = <RegionListModel>[].obs;
  set regionListModels(value) => _regionListModels.value = value;
  get regionListModels => _regionListModels;

  final _roomCards = <RoomCardModel>[].obs;
  set roomCards(value) => _roomCards.value = value;
  get roomCards => _roomCards;

  // 中心区域卡片是否开始被触摸
  final RxBool _cardTouchDown = false.obs;
  set cardTouchDown(value) => _cardTouchDown.value = value;
  get cardTouchDown => _cardTouchDown.value;

  // 中心区域指示器是否显示
  final RxBool _centerIndicatorShow = false.obs;
  set centerIndicatorShow(value) => _centerIndicatorShow.value = value;
  get centerIndicatorShow => _centerIndicatorShow.value;

// 中心区域指示器默认page
  final _centerCurrectPage = 0.obs;
  set centerCurrectPage(value) => _centerCurrectPage.value = value;
  get centerCurrectPage => _centerCurrectPage;
}
